package com.shfl.servermanage.logic.model.bt.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

@ApiModel("系统基础信息")
public class SystemTotalResponse {

    @ApiModelProperty(value = "操作系统信息", example = "CentOS Linux 7.5.1804 (Core)")
    private String system;

    @ApiModelProperty(value = "面板版本", example = "6.8.2")
    private String version;
    @ApiModelProperty(value = "上次开机到现在经过的时间", example = " 0 天 23 小时 45 分钟")
    private String time;
    @ApiModelProperty(value = "CPU 核心数", example = "2")
    private Integer cpuNum;
    @ApiModelProperty(value = "CPU 使用率 (百分比)", example = "2.01")
    private BigDecimal cpuRealUsed;

    @ApiModelProperty(value = "物理内存容量 (MB)", example = "1024")
    private Integer memTotal;

    @ApiModelProperty(value = "已使用的物理内存 (MB)", example = "300")
    private Integer memRealUsed;

    @ApiModelProperty(value = "可用的物理内存 (MB)", example = "724")
    private Integer memFree;

    @ApiModelProperty(value = "缓存化的内存 (MB)", example = "700")
    private Integer memCached;

    @ApiModelProperty(value = "系统缓冲 (MB)", example = "100")
    private Integer memBuffers;

    public String getSystem() {
        return system;
    }

    public void setSystem(String system) {
        this.system = system;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getCpuNum() {
        return cpuNum;
    }

    public void setCpuNum(Integer cpuNum) {
        this.cpuNum = cpuNum;
    }

    public BigDecimal getCpuRealUsed() {
        return cpuRealUsed;
    }

    public void setCpuRealUsed(BigDecimal cpuRealUsed) {
        this.cpuRealUsed = cpuRealUsed;
    }

    public Integer getMemTotal() {
        return memTotal;
    }

    public void setMemTotal(Integer memTotal) {
        this.memTotal = memTotal;
    }

    public Integer getMemRealUsed() {
        return memRealUsed;
    }

    public void setMemRealUsed(Integer memRealUsed) {
        this.memRealUsed = memRealUsed;
    }

    public Integer getMemFree() {
        return memFree;
    }

    public void setMemFree(Integer memFree) {
        this.memFree = memFree;
    }

    public Integer getMemCached() {
        return memCached;
    }

    public void setMemCached(Integer memCached) {
        this.memCached = memCached;
    }

    public Integer getMemBuffers() {
        return memBuffers;
    }

    public void setMemBuffers(Integer memBuffers) {
        this.memBuffers = memBuffers;
    }
}
